{{each items as item}}
<div class="icon-grid" 
style="left:{{=item.left}}px;top:{{=item.top}}px"
 mx-click="@:{open.by.icon}({app:{{#item.app}}})"
 mx-contextmenu="ef()"
 >
    {{if(/.(png|gif|jpg)$/.test(item.app.icon))}}
        <image
        src="{{=item.app.icon}}" 
        class="icon-grid-image"></image>
    {{else}}
        <div x-html="{{=item.app.icon}}" class="icon-grid-image"></div>
    {{/if}}
   
    <div class="icon-grid-title">{{=item.app.title}}</div>
</div>
{{/each}}